<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="IndexTable">

    <div class="layui-card-body padding-left-40">

        <label class="layui-form-item relative block">
            <span class="help-label"><b>应用名</b>格式：必须英文小写</span>
            <input class="layui-input" name="appname" value='{$vo.appname|default=""}' required>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>模型名</b>格式：必须英文，采用驼峰法（首字母大写）,对照数据库表名</span>
            <input class="layui-input" name="modelname" value='{$vo.modelname|default=""}' required>
            <span class="help-block">例如：数据库表名为：member_users,模型名为：MemberUsers</span>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>控制器名</b>格式：必须英文，采用驼峰法（首字母大写），请勿和模型名一样，尽量用一个单词命名</span>
            <input class="layui-input" name="controllername" value='{$vo.controllername|default=""}' required>
            <span class="help-block">例如：模型名为：MemberUsers，控制器名为：UsersManage</span>
        </label>

    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>